$(function() {
	$(document).on('click', ".release-right ul li", function() {
		$(this).addClass("active").siblings().removeClass("active");
	});
});
var auth = getAuth();
var seed = null;
var authToken = null;
if (auth != null) {
	seed = auth.seed;
	authToken = auth.authToken;
}
var myApplyHref = "view/myApply?seed=" + seed + "&authToken=" + authToken
		+ "&orderMethod=11&page=1";
var myExamHref = "view/myExam?seed=" + seed + "&authToken=" + authToken
		+ "&orderMethod=11&page=1";
var myCollectionHref = "view/myCollection?seed=" + seed + "&authToken="
		+ authToken + "&orderMethod=11&page=1";
var myRecordHref = "view/myRecord?seed=" + seed + "&authToken=" + authToken
		+ "&orderMethod=11&page=1";
var myApply = $('#myApply');
var myApplyInit = $('#myApplyInit');
if (myApply) {
	myApply.attr('href', myApplyHref);
}
if (myApplyInit) {
	$('#myApplyInit').attr('src',myApplyHref);
}
